package com.es.hr.areartm;

import javax.servlet.http.HttpServletRequest;

import com.es.business.city.CityBiz;
import com.es.business.province.ProvinceBiz;
import com.es.util.page.PageBean;
import com.opensymphony.webwork.interceptor.ServletRequestAware;
import com.opensymphony.xwork.ActionSupport;

public class AreaRTMAddInitAction extends ActionSupport
implements ServletRequestAware{
	 HttpServletRequest request;

	public void setServletRequest(HttpServletRequest paramHttpServletRequest) {
		// TODO Auto-generated method stub
		this.request = paramHttpServletRequest;
	}
	
	public String execute() throws Exception{
		String result = "";
		AreaRTMBiz areaRTMBiz = new AreaRTMBiz();
		String empId = request.getParameter("emp_id");
		
		request.setAttribute("areaList", areaRTMBiz.searchNotAreaByRTM(empId));
		request.setAttribute("emp_id", empId);
		return "success";
	}
	 

}
